﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATM_Pro.Log
{
    public delegate void CaptureExceptionHandle(object source, CaptureEventArgs e);

    public class CaptureEventArgs :EventArgs
    {
 
    }

    public class CaptureException
    {
        public event CaptureExceptionHandle CaptureEvent;
        public string Msg { get; set; }
        public int ImgIndex { get; set; }

        public CaptureException()
        {
        }

        public void ShowMsg()
        {
            if (CaptureEvent != null)
            {
                CaptureEvent(this, new CaptureEventArgs());
            }
        }
    }
}
